from applications.extensions import ma
from marshmallow import fields


class ConfrontationReportSchema(ma.Schema):
    id = fields.Integer()
    user_id = fields.Integer()
    result = fields.Integer()
    total_time = fields.Float()
    training_name = fields.Str()
    score = fields.Decimal()
    train_at = fields.DateTime()
